package com.zzyl.nursing.job;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.zzyl.nursing.domain.DeviceData;
import com.zzyl.nursing.service.IDeviceDataService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;
import java.util.List;

@Slf4j
@Component("UpdateDateJob")
public class UpdateDateJob {
    @Autowired
    private IDeviceDataService deviceDataService;

    public void updateDate(Integer minute) {
        //deviceDataService.cleanDate(minute);
        deviceDataService.selete();
    }


}
